package com.wangsb.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description: TODO
 * @author: shenbing.wang@hand-china
 * @date: 2021年02月21日 23:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    private Integer id;
    //@JsonIgnore

    private String name;
    @JsonIgnore
    private String password;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
}
